package net.wenku8.reader.model.rank;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import net.wenku8.reader.model.book.BookDataValue;

import java.util.List;

@XStreamAlias("item")
public class SearchItem {

    @XStreamAlias("aid")
    @XStreamAsAttribute
    String bookId;

    @XStreamImplicit
    List<BookDataValue> list;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public List<BookDataValue> getList() {
        return list;
    }

    public void setList(List<BookDataValue> list) {
        this.list = list;
    }
}
